import IDictPageForm from '@/model/form/dict/IDictPageForm'
import IPageVO from '@/model/vo/common/IPageVO'
import IResVO from '@/model/vo/common/IResVO'
import IDictVO from '@/model/vo/dict/IDictVO'
import $http from '@/util/http'
import { AxiosResponse } from 'axios'

// 分页排序查询：字典
export default function dictPageApi(form: IDictPageForm) {
  return $http.post<
    IResVO,
    AxiosResponse<IResVO<IPageVO<IDictVO>>>,
    IDictPageForm
  >('/dict/page', form)
}
